//
//  SDCControlView.h
//  WOFishingBoat
//
//  Created by 郑逸凯 on 2018/12/19.
//  Copyright © 2018年 郑逸凯. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, SDCControlDirection) {
    SDCControlDirectionUp = 1,
    SDCControlDirectionLeft,
    SDCControlDirectionDown,
    SDCControlDirectionRight,
    SDCControlScreenShot,
};

@class SDCControlView;
@protocol SDCControlViewDelegate <NSObject>

- (void)SDCControlViewTouched:(SDCControlView *)controlView controlDirection:(SDCControlDirection)controlDirection;

@end

@interface SDCControlView : UIView

@property (nonatomic,weak)id<SDCControlViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
